FROM ibmcom/db2express-c:10.5.0.5-3.10.0

ARG DB2INST1_PASSWORD
ARG LICENSE

ENV DB2INST1_PASSWORD $DB2INST1_PASSWORD
ENV LICENSE $LICENSE

EXPOSE 50000:50000

ADD start-db.sh /start-db.sh
RUN chmod +x /start-db.sh
CMD ["/start-db.sh"]
